class CreateCustomers < ActiveRecord::Migration
  def self.up
    create_table :customers do |t|
      t.column  :name,        :string
      t.column  :phone,       :string
      t.column  :fax,         :string
      t.column  :email,       :string
      t.column  :domain,      :string
      t.column  :created_on,  :timestamp
      t.column  :updated_on,  :timestamp
      t.column  :lock_version,  :integer, :default => 0
    end
  end
  
  def self.down
    drop_table :customers
  end
end
